package priv.pfz.raft.peer.model;

import lombok.Getter;
import lombok.Setter;
import priv.pfz.raft.common.ToString;

import java.util.List;

/**
 * @author pengfangzhou
 * @date 2022/2/3 18:17
 */
@Getter
@Setter
public class PeerConf extends ToString {
    private String peerName;
    private List<String> allPeerNames;
    private List<String> otherPeerNames;
    private int majorityNum;
    private int maxElectionTimeout;
    private int rpcInterval;
}
